//后台管理模块
const router  = require('koa-router')();
const user = require('./admin/user');
const banner = require('./admin/banner');
const news = require('./admin/news');
/* 配置admin的子路由 */
router.get('/',async ctx=>{
    ctx.body="后台管理系统首页"
})
router.use('/user',user)
router.use('./banner',banner)
router.use('./news',news);
module.exports = router.routes();